<?php
include("dao/XMLFeedDAO.php");
include("Security.php");

Security::checkAuthenticated();

$xmlFeedId = $_GET["xmlFeedId"];
$userId = $_SESSION["UserId"];

$xmlFeedDAO = new XMLFeedDAO();
$xmlFeedDAO->deleteXmlFeed($xmlFeedId, $userId);

header("location:../manage.php");
?>